package com.bicon.base.data.service.botu.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.bicon.base.data.common.exception.BusinessException;
import com.bicon.base.data.mapper.botu.TTaskMapper;
import com.bicon.base.data.pojo.botu.TTask;
import com.bicon.base.data.service.botu.TTaskService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@Service("taskService")
//@Transactional(propagation=Propagation.REQUIRED,isolation=Isolation.DEFAULT,readOnly = false,rollbackFor=BusinessException.class)
public class TTaskServiceImpl extends ServiceImpl<TTaskMapper, TTask> implements TTaskService {

	@Transactional(propagation=Propagation.REQUIRED,rollbackFor=BusinessException.class,readOnly = false)
	@Override
	public TTask findTaskById(String id) {
		return selectById(id);
	}

	
}
